<?php
/*
 * Created on Nov 8, 2010
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
include_once("./configure/configure.php");		//--> global var
include_once("customerSession.inc.php");
include_once ("Session.php");					//-- Session

/*----- instance -----*/
$ins_session = new Session(DB_TAG_SYSTEM, SESSION_TABLE_NAME);	//----- session

if($ins_session->exist()){
	$ins_session->destroy();
}

session_start();

unset($_SESSION['customerInfo']);
unset($_SESSION['ordersInfo']);
unset($_SESSION['paypalInfo']);

$location = HOME_URL_HTTP;

header("Location: $location");
?>
